/* $Id: GeometryModelUnitTest.java 63 2010-02-14 13:52:34Z aaron.day $ */
package org.crazydays.gameplan.map.swing;


import org.junit.*;
import static org.junit.Assert.*;

import org.crazydays.gameplan.map.Geometry;
import org.crazydays.gameplan.map.GridType;

/**
 * GeometryModelUnitTest
 */
public class GeometryModelUnitTest
{
    /**
     * Test constructor.
     */
    @Test
    public void testConstructor()
    {
        // objects
        Geometry geometry = new Geometry(480, 640, GridType.HEXAGON, 20);

        // test
        GeometryModel model = new GeometryModel(geometry);

        // verify
        assertEquals("geometry", geometry, model.geometry);
        assertNotNull("gridTypeModel", model.gridTypeModel);
    }
}
